const routerList = [
	{
		path: '/',
		name: 'Login',
		meta: {
			title: '登录',
			keepAlive: false
		},
		component: () => import('@/views/login/Login.vue')
	}, {
		path: '',
		name: '',
		component: () => import('@/views/main/Main.vue'),
		children: [
			{
				path: '/Home',
				name: 'Home',
				meta: {
					title: '首页',
					keepAlive: false
				},
				component: () => import('@/views/home/Home.vue')
			}
		]
	}, {
		path: '',
		name: '',
		component: () => import('@/views/main/Main.vue'),
		meta: {
			title: '系统管理',
			keepAlive: false
		},
		children: [
			{
				path: "/UserManage",
				name: "UserManage",
				meta: {
					title: "用户管理",
					keepAlive: true
				},
				component: () => import("@/views/systemManage/userManage/UserManage.vue")
			}, {
				path: "/RoleManage",
				name: "RoleManage",
				meta: {
					title: "角色管理",
					keepAlive: true
				},
				component: () => import("@/views/systemManage/roleManage/RoleManage.vue")
			}
		]
	}, {
		path: '*',
		name: 'NotFound',
		meta: {
			title: '404 Not Found!',
			keepAlive: false
		},
		component: () => import('@/views/404/NotFound.vue')
	}
]


module.exports = {
	routerList
}